package com.superman.entity;

public class Record {
    private String id;
    private String user_id;
    private String car_id;
    private String start_date;
    private String return_date;
    private double payment;

    public Record() {
    }

    public Record(String id, String user_id, String car_id, String start_date, String return_date, double payment) {
        this.id = id;
        this.user_id = user_id;
        this.car_id = car_id;
        this.start_date = start_date;
        this.return_date = return_date;
        this.payment = payment;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getCar_id() {
        return car_id;
    }

    public void setCar_id(String car_id) {
        this.car_id = car_id;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }

    public String getReturn_date() {
        return return_date;
    }

    public void setReturn_date(String return_date) {
        this.return_date = return_date;
    }

    public double getPayment() {
        return payment;
    }

    public void setPayment(double payment) {
        this.payment = payment;
    }

    @Override
    public String toString() {
        return "Record{" +
                "id='" + id + '\'' +
                ", user_id='" + user_id + '\'' +
                ", car_id='" + car_id + '\'' +
                ", start_date='" + start_date + '\'' +
                ", return_date='" + return_date + '\'' +
                ", payment=" + payment +
                '}';
    }
}
